package com.ship.gateway.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 调度优化方案详情
 *
 * @author AbyssRabbit@163.com
 * @since 2023-10-17
 */
@Data
@TableName("ucenter_member")
public class User implements Serializable {

    private static final long serialVersionUID = 4201124653940792391L;

    private String username;

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    private String password;

    @TableField(exist = false)
    private String token;

//    @TableField(exist = false)
//    private List<String> roleId;

//    @TableField(exist = false)
//    private String roleName;

//    @TableField(fill = FieldFill.INSERT)
//    private Long createTime;
//
//    @TableField(fill = FieldFill.INSERT_UPDATE)
//    private Long updateTime;

}
